﻿using Prism.Services.Dialogs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EONFULLSIN2.Core.EventArgs {
    /// <summary>
    /// 通用形消息事件参数类
    /// </summary>
    public class MessageEventArgs : System.EventArgs {

        public MessageEventArgs(string message = "", string StepName = "", DialogParameters data = null) {
            this.Message = message;
            this.StepName = StepName;
            this.Data = data;
        }

        /// <summary>
        /// 步骤名称
        /// </summary>
        public string StepName { get; set; }

        /// <summary>
        /// 消息内容
        /// </summary>
        public string Message { get; set; }

        /// <summary>
        /// 传递的数据
        /// </summary>
        public DialogParameters Data { get; set; }

        public DateTime HappendDate { get; set; } = DateTime.Now;
    }
}
